import { proxy } from 'valtio';
import TabService from '../../tabs/base/service';
import BasePanelService from '../base/service';
import { cards } from '../../cards';

// 热刷新存在问题，文件会重新加载，但不会自动重新进入构造函数

class DefaultService extends BasePanelService {
  title = '设置';

  tabs = [
    proxy(new TabService({
      title: '基础',
      cards: [
        cards.general,
      ],
    })
    )
  ];

  // render() {
  //     return <ProCard>
  //       {this.tabs.map((tab,key) => tab.render({key:'cardKey'+key}))}
  //     </ProCard>;
  // }
}

export default DefaultService;
